from django.urls import path
from .views import book_borrow, book_list, book_return, book_detail, book_borrow_list
app_name = "bookcms"
urlpatterns = [
    path('', book_list, name="list"),
    path('detail/<int:id>', book_detail, name="detail"),
    path('borrow/<int:id>', book_borrow, name="borrow"),
    path('blist/', book_borrow_list, name="blist"),
    path('return/<int:book_id>', book_return, name="return"),
]
